<!-- 首页尾部 -->
<template>
  <div class="foot">
    <div class="index">
      <i class="iconfont icon-shouye"></i><span>首页</span>
    </div>
    <div class="item">
      <i class="iconfont icon-leimupinleifenleileibie"></i><span>分类</span>
    </div>
    <div class="shopcart">
      <i class="iconfont icon-cart-icon"></i><span>购物车</span>
    </div>
    <div class="person">
      <i class="iconfont icon-wode"></i><span>我的</span>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  methods: {},
};
</script>
<style lang="less" scoped>
.foot {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    border: 1px solid #ccc;
    height: 0.5rem;
    background: #fff;
  > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .index {
    i.iconfont.icon-shouye {
    }

    span {
      white-space: nowrap;
    }
  }

  .item {
    i.iconfont.icon-leimupinleifenleileibie {
    }

    span {
      white-space: nowrap;
    }
  }

  .shopcart {
    i.iconfont.icon-cart-icon {
    }

    span {
      white-space: nowrap;
    }
  }

  .person {
    i.iconfont.icon-wode {
    }

    span {
      white-space: nowrap;
    }
  }
}
</style>
